home *** CD-ROM | disk | FTP | other *** search
/ X User Tools / X User Tools (O'Reilly and Associates)(1994).ISO / sources / xman / scllbylh < prev    next >
Text File  |  1994-09-27  |  2KB  |  65 lines

  1. /*
  2.  * xman - X window system manual page display program.
  3.  *
  4.  * $XConsortium: ScrollByL.h,v 1.6 91/07/12 15:49:38 dave Exp $
  5.  * $Athena: ScrollByL.h,v 4.0 88/08/31 22:11:16 kit Exp $
  6.  *
  7.  * Copyright 1987, 1988 Massachusetts Institute of Technology
  8.  *
  9.  * Permission to use, copy, modify, and distribute this software and its
  10.  * documentation for any purpose and without fee is hereby granted, provided
  11.  * that the above copyright notice appear in all copies and that both that
  12.  * copyright notice and this permission notice appear in supporting
  13.  * documentation, and that the name of M.I.T. not be used in advertising or
  14.  * publicity pertaining to distribution of the software without specific,
  15.  * written prior permission.  M.I.T. makes no representations about the
  16.  * suitability of this software for any purpose.  It is provided "as is"
  17.  * without express or implied warranty.
  18.  *
  19.  * Author:    Chris D. Peterson, MIT Project Athena
  20.  * Created:   December 5, 1987
  21.  */
  22.  
  23. #ifndef _XtScrollByLine_h
  24. #define _XtScrollByLine_h
  25.  
  26. /***********************************************************************
  27.  *
  28.  * ScrollByLine Widget (subclass of Simple)
  29.  *
  30.  ***********************************************************************/
  31.  
  32. /*
  33.  * The default fonts.
  34.  */
  35.  
  36. #ifdef ATHENA
  37. #define MANPAGE_NORMAL   "fixed"
  38. #define MANPAGE_BOLD     "helvetica-bold12"
  39. #define MANPAGE_ITALIC   "helvetica-boldoblique12"
  40. #define MANPAGE_SYMBOL   "symbol-medium12"
  41. #else
  42. #define MANPAGE_NORMAL   "*-new century schoolbook-medium-r-normal--*-120-*"
  43. #define MANPAGE_BOLD     "*-new century schoolbook-bold-r-normal--*-120-*"
  44. #define MANPAGE_ITALIC   "*-new century schoolbook-bold-i-normal--*-120-*"
  45. #define MANPAGE_SYMBOL   "*-symbol-medium-r-normal--*-120-*"
  46. #endif /* ATHENA */
  47.  
  48. #define XtNindent           "indent"
  49. #define XtNforceVert        "forceVert"
  50. #define XtNmanualFontNormal "manualFontNormal"
  51. #define XtNmanualFontBold   "manualFontBold"
  52. #define XtNmanualFontItalic "manualFontItalic"
  53. #define XtNmanualFontSymbol "manualFontSymbol"
  54.  
  55. #define XtCIndent           "Indent"
  56.  
  57. /* Class record constants */
  58.  
  59. extern WidgetClass scrollByLineWidgetClass;
  60.  
  61. typedef struct _ScrollByLineClassRec *ScrollByLineWidgetClass;
  62. typedef struct _ScrollByLineRec      *ScrollByLineWidget;
  63.  
  64. #endif /* _XtScrollByLine_h --- DON'T ADD STUFF AFTER THIS LINE */
  65.